<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body></body>
  <script>
    console.log(Object.prototype.toString.call(function () {}));
    console.log(Object.prototype.toString.call(null));
    console.log(Object.prototype.toString.call(undefined));
    console.log(Object.prototype.toString.call(/123/g));
    console.log(Object.prototype.toString.call(new Date()));
    console.log(Object.prototype.toString.call([]));
    console.log(Object.prototype.toString.call(document));
    console.log(Object.prototype.toString.call(window));
  </script>
</html>
